@@ -0,0 +1,31 @@ |
||
1 |
+# Generated by Django 3.2.6 on 2022-12-26 06:04 |
|
2 |
+ |
|
3 |
+from django.db import migrations, models |
|
4 |
+ |
|
5 |
+ |
|
6 |
+class Migration(migrations.Migration): |
|
7 |
+ |
|
8 |
+ dependencies = [ |
|
9 |
+ ('account', '0010_auto_20221226_1256'), |
|
10 |
+ ] |
|
11 |
+ |
|
12 |
+ operations = [ |
|
13 |
+ migrations.RemoveField( |
|
14 |
+ model_name='userinfo', |
|
15 |
+ name='identifty_card_name', |
|
16 |
+ ), |
|
17 |
+ migrations.RemoveField( |
|
18 |
+ model_name='userinfo', |
|
19 |
+ name='identifty_card_number', |
|
20 |
+ ), |
|
21 |
+ migrations.AddField( |
|
22 |
+ model_name='userinfo', |
|
23 |
+ name='identify_card_name', |
|
24 |
+ field=models.CharField(blank=True, help_text='身份证姓名', max_length=32, null=True, verbose_name='identify_card_name'), |
|
25 |
+ ), |
|
26 |
+ migrations.AddField( |
|
27 |
+ model_name='userinfo', |
|
28 |
+ name='identify_card_number', |
|
29 |
+ field=models.CharField(blank=True, help_text='身份证号码', max_length=32, null=True, verbose_name='identify_card_number'), |
|
30 |
+ ), |
|
31 |
+ ] |
@@ -41,8 +41,8 @@ class UserInfo(BaseModelMixin): |
||
41 | 41 |
city = models.CharField(_('city'), max_length=255, blank=True, null=True, help_text='用户城市') |
42 | 42 |
|
43 | 43 |
# 身份证 |
44 |
- identifty_card_number = models.CharField(_('identifty_card_number'), max_length=32, blank=True, null=True, help_text='身份证号码') |
|
45 |
- identifty_card_name = models.CharField(_('identifty_card_name'), max_length=32, blank=True, null=True, help_text='身份证姓名') |
|
44 |
+ identify_card_number = models.CharField(_('identify_card_number'), max_length=32, blank=True, null=True, help_text='身份证号码') |
|
45 |
+ identify_card_name = models.CharField(_('identify_card_name'), max_length=32, blank=True, null=True, help_text='身份证姓名') |
|
46 | 46 |
|
47 | 47 |
user_status = models.IntegerField(_('user_status'), choices=USER_STATUS, default=UNVERIFIED, help_text='用户状态') |
48 | 48 |
|